<?php

use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generateUrl new
| model instances for testing / seeding your application's database.
|
*/
/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(\App\Models\Panx\Device::class, function (Faker $faker) {
    return [
//        'skin_detector_id' => '已改成多对多关联'
        'uuid'           => $faker->uuid,
        'producer'       => $faker->company,
        'specification'  => $faker->title,
        'device_name'    => $faker->name,
        'device_spec_id' => \App\Models\Panx\DeviceSpec::ID_DEFAULT,
    ];
});
